package com.derbysoft.dswitch.adapter.ihg.common.repository;

import com.derbysoft.dswitch.adapter.ihg.common.domain.ReservationItem;
import com.derbysoft.dswitch.adapter.ihg.common.domain.Status;
import com.derbysoft.dswitch.adapter.ihg.web.action.admin.reservation.DMXQueryReservationCondition;
import com.derbysoft.dswitch.adapter.ihg.web.action.admin.reservation.ReservationCondition;
import com.derbysoft.dswitch.adapter.ihg.web.action.support.Paginater;

public interface ReservationRepository {

    String findConfirmNumber(String ersp);

    boolean existReservation(String ersp);

    void create(String ersp, String hotelPassport, String status);

    void addReservationItem(ReservationItem reservationItem);

    void updateStatus(String ersp, Status status);

    void cancelReservationItem(String ersp, String cancelNumber);

    Paginater paginater(ReservationCondition condition, Paginater paginater);

    void paginater(DMXQueryReservationCondition condition, Paginater paginater);
}
